# -= code_dragon/utils coding by Scott in 2018-12-11-9:12 with IDE:PyCharm =-
from rest_framework.pagination import PageNumberPagination


class NewsSetPagination(PageNumberPagination):
    page_size = 10
    page_size_query_param = 'page_size'
    max_page_size = 20
